#!/usr/bin/awk -f
# 实例文件：asar.awk
# Awk关联数组
# 用法：ls -lR /usr/local | awar.awk

NF > 7 {
    user[$3]++
}

END {
    for (i in user) {
        printf "%s owns %d files\n", i , user[i]
    }
}
